'''
Created on Jun 21, 2010

@author: oabalbin
'''
from collections import deque

def panther_gene_list(inputfile):
    
    genlist=deque()
    for line in inputfile:        
        fields = line.strip('\n')
        fields = fields.strip('\r').split(';')
        #print fields 
        # To skip headers, star reading samples in column 7 of the file
        if fields[0][0] == '#': 
            continue                             
        if fields[0]=='':
            continue
        
        genlist.append(fields[1])
    
    return genlist
    
    